This forum is closed to new posts and
responses. The content has been migrated to the Digital Solutions Community. Please join us there for new content as well as this content. For customer support, please visit the official HCL customer support channels below:
will give you mailServer, mailFile etc. for a given user.
Example from designer help:
Sub Initialize
Dim session As New NotesSession
Dim reg As New NotesRegistration
reg.RegistrationServer = "AceOne"
Call reg.GetUserInfo("Roberta Person", _
mailserver$, _
mailfile$, _
maildomain$, _
mailsystem%, _
profile$)
Messagebox mailserver$,, "Mail server"
Messagebox mailfile$,, "Mail file"
Messagebox maildomain$,, "Mail domain"
If mailsystem% = 1 Then
mailsystemtext$ = "Notes mail"
Else
mailsystemtext$ = "Other than Notes mail"
End If
Messagebox mailsystemtext$,, "Mail system"
Messagebox profile$,, "Profile"
End Sub